﻿using DomainModel;
using FluentNHibernate.Mapping;

namespace Repository.NHibernate.Mapping
{
    public class RingMap : ClassMap<Ring>
    {
        public RingMap()
        {
            Id(x => x.Id).GeneratedBy.Native();

            Map(x => x.PairNo);
            Map(x => x.BeginTime);
            Map(x => x.EndTime);
        }
    }
}